docs: Enable OpenSearch on our references
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 15 Nov 2021 15:31:35 +0000 (15:31 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 15 Nov 2021 15:31:35 +0000 (15:31 +0000)
By adding the `docs_url` key in the project configuration file,
gi-docgen will generate an OpenSearch XML file, which allows to add
docs.gtk.org/<reference> as a "search engine" in web browsers.

docs/reference/gdk/gdk4.toml.in
docs/reference/gsk/gsk4.toml.in
docs/reference/gtk/gtk4.toml.in

index fe938c4c05767b2a58624722484da4fc1692072a..69d38568caa161cc9ca81fd287e8dcf508a5540b 100644 (file)
@@ -3,6 +3,7 @@ version = "@version@"
 browse_url = "https://gitlab.gnome.org/GNOME/gtk/"
 repository_url = "https://gitlab.gnome.org/GNOME/gtk.git"
 website_url = "https://www.gtk.org"
+docs_url = "https://docs.gtk.org/gdk4/"
 authors = "GTK Development Team"
 logo_url = "gtk-logo.svg"
 license = "LGPL-2.1-or-later"
index 58a577e7a1fbb870d73a5857834be749a9deccfa..5befeaa61d3c7bfe176719edba94946f508e7fb3 100644 (file)
@@ -3,6 +3,7 @@ version = "@version@"
 browse_url = "https://gitlab.gnome.org/GNOME/gtk/"
 repository_url = "https://gitlab.gnome.org/GNOME/gtk.git"
 website_url = "https://www.gtk.org"
+docs_url = "https://docs.gtk.org/gsk4/"
 authors = "GTK Development Team"
 logo_url = "gtk-logo.svg"
 license = "LGPL-2.1-or-later"
index 03c9346a704be3b1559c40875dd3163f0c701839..5ead702e4e9410aa066ddc363726a7233495ea1e 100644 (file)
@@ -3,6 +3,7 @@ version = "@version@"
 browse_url = "https://gitlab.gnome.org/GNOME/gtk/"
 repository_url = "https://gitlab.gnome.org/GNOME/gtk.git"
 website_url = "https://www.gtk.org"
+docs_url = "https://docs.gtk.org/gtk4/"
 authors = "GTK Development Team"
 logo_url = "gtk-logo.svg"
 license = "LGPL-2.1-or-later"